{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "简易的命令行入门教程:\n",
    "Git 全局设置:\n",
    "\n",
    "git config --global user.name \"寇云霄\"\n",
    "git config --global user.email \"1328298529@qq.com\"\n",
    "创建 git 仓库:\n",
    "\n",
    "mkdir xiao\n",
    "cd xiao\n",
    "git init -b \"kyx\"\n",
    "touch README.md\n",
    "git add README.md\n",
    "git commit -m \"first commit\"\n",
    "git remote add origin https://gitee.com/kou-yunxiao/xiao.git\n",
    "git push -u origin \"kyx\"\n",
    "已有仓库?\n",
    "\n",
    "cd existing_git_repo\n",
    "git remote add origin https://gitee.com/kou-yunxiao/xiao.git\n",
    "git push -u origin \"kyx\""
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "name": "python"
  },
  "orig_nbformat": 4
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
